package cn.exrick.xboot.modules.content.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

@Data
@Entity
@Table(name = "hont_user_post")
@TableName("hont_user_post")
@ApiModel(value = "测试")
public class HontUserPost extends XbootBaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private String hontUserId;

    @ApiModelProperty(value = "岗位id")
    private String hontPostId;

    @Transient
    @TableField(exist=false)
    @ApiModelProperty(value = "岗位名称")
    private String hontPostName;
}
